
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-invite"></i>
                    <div class="name">invite</div>
                    <div class="fontclass">.icon-invite</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock"></i>
                    <div class="name">lock</div>
                    <div class="fontclass">.icon-lock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-loan"></i>
                    <div class="name">loan</div>
                    <div class="fontclass">.icon-loan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice_solid"></i>
                    <div class="name">notice_solid</div>
                    <div class="fontclass">.icon-notice_solid</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-payall"></i>
                    <div class="name">payall</div>
                    <div class="fontclass">.icon-payall</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice"></i>
                    <div class="name">notice</div>
                    <div class="fontclass">.icon-notice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-payinmonth"></i>
                    <div class="name">payinmonth</div>
                    <div class="fontclass">.icon-payinmonth</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-question"></i>
                    <div class="name">question</div>
                    <div class="fontclass">.icon-question</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-redpacket"></i>
                    <div class="name">redpacket</div>
                    <div class="fontclass">.icon-redpacket</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-redpacket_solid"></i>
                    <div class="name">redpacket_solid</div>
                    <div class="fontclass">.icon-redpacket_solid</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-return"></i>
                    <div class="name">return</div>
                    <div class="fontclass">.icon-return</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-safecenter"></i>
                    <div class="name">safecenter</div>
                    <div class="fontclass">.icon-safecenter</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-total"></i>
                    <div class="name">total</div>
                    <div class="fontclass">.icon-total</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-type"></i>
                    <div class="name">type</div>
                    <div class="fontclass">.icon-type</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-verification"></i>
                    <div class="name">verification</div>
                    <div class="fontclass">.icon-verification</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-about"></i>
                    <div class="name">about</div>
                    <div class="fontclass">.icon-about</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-apply"></i>
                    <div class="name">apply</div>
                    <div class="fontclass">.icon-apply</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-choice"></i>
                    <div class="name">choice</div>
                    <div class="fontclass">.icon-choice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-clock"></i>
                    <div class="name">clock</div>
                    <div class="fontclass">.icon-clock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cost"></i>
                    <div class="name">cost</div>
                    <div class="fontclass">.icon-cost</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-event"></i>
                    <div class="name">event</div>
                    <div class="fontclass">.icon-event</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-event_solid"></i>
                    <div class="name">event_solid</div>
                    <div class="fontclass">.icon-event_solid</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fire"></i>
                    <div class="name">fire</div>
                    <div class="fontclass">.icon-fire</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guarantee"></i>
                    <div class="name">guarantee</div>
                    <div class="fontclass">.icon-guarantee</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guidebook"></i>
                    <div class="name">guidebook</div>
                    <div class="fontclass">.icon-guidebook</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-help"></i>
                    <div class="name">help</div>
                    <div class="fontclass">.icon-help</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-home"></i>
                    <div class="name">home</div>
                    <div class="fontclass">.icon-home</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money"></i>
                    <div class="name">money</div>
                    <div class="fontclass">.icon-money</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-investrecords"></i>
                    <div class="name">investrecords</div>
                    <div class="fontclass">.icon-investrecords</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-persent"></i>
                    <div class="name">persent</div>
                    <div class="fontclass">.icon-persent</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-term"></i>
                    <div class="name">term</div>
                    <div class="fontclass">.icon-term</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-projectdetail"></i>
                    <div class="name">projectdetail</div>
                    <div class="fontclass">.icon-projectdetail</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-detail"></i>
                    <div class="name">detail</div>
                    <div class="fontclass">.icon-detail</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-feedback"></i>
                    <div class="name">feedback</div>
                    <div class="fontclass">.icon-feedback</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hf"></i>
                    <div class="name">hf</div>
                    <div class="fontclass">.icon-hf</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-idcard"></i>
                    <div class="name">idcard</div>
                    <div class="fontclass">.icon-idcard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-msg"></i>
                    <div class="name">msg</div>
                    <div class="fontclass">.icon-msg</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-horn"></i>
                    <div class="name">horn</div>
                    <div class="fontclass">.icon-horn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-goinvest"></i>
                    <div class="name">goinvest</div>
                    <div class="fontclass">.icon-goinvest</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-withdrawals"></i>
                    <div class="name">withdrawals</div>
                    <div class="fontclass">.icon-withdrawals</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-recharge"></i>
                    <div class="name">recharge</div>
                    <div class="fontclass">.icon-recharge</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-email"></i>
                    <div class="name">email</div>
                    <div class="fontclass">.icon-email</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bankcard"></i>
                    <div class="name">bankcard</div>
                    <div class="fontclass">.icon-bankcard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-visible"></i>
                    <div class="name">visible</div>
                    <div class="fontclass">.icon-visible</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-invest"></i>
                    <div class="name">invest</div>
                    <div class="fontclass">.icon-invest</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-menu"></i>
                    <div class="name">menu</div>
                    <div class="fontclass">.icon-menu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tag"></i>
                    <div class="name">tag</div>
                    <div class="fontclass">.icon-tag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-more"></i>
                    <div class="name">more</div>
                    <div class="fontclass">.icon-more</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Refresh"></i>
                    <div class="name">Refresh</div>
                    <div class="fontclass">.icon-Refresh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-success"></i>
                    <div class="name">success</div>
                    <div class="fontclass">.icon-success</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-failed"></i>
                    <div class="name">failed</div>
                    <div class="fontclass">.icon-failed</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
